package com.mercury.system.api.model.entity;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.util.List;

/**
 * 权限信息
 *
 * @author mercury
 */
@Data
@TableName("tb_sys_permission")
public class SysPermission {

    @TableId(type = IdType.AUTO)
    private Long id;

    @TableField(value = "usl_perm")
    private String urlPerm;

    @TableField(value = "roles")
    private List<String> roles;

}
